home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1447 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  969 b 

  1. Path: newspost1.alt.net!usenet
  2. From: jcharper@alt.net (JC)
  3. Newsgroups: comp.lang.c++
  4. Subject: Procedure for CRC-16 Value for a given text string
  5. Date: Thu, 11 Jan 1996 03:42:08 GMT
  6. Organization: Student
  7. Message-ID: <30f486fc.64895197@news.alt.net>
  8. Reply-To: jcharper@alt.net
  9. X-Newsreader: Forte Agent .99d/32.168
  10.  
  11.  
  12. To anyone with some knowledge of C - programming language. I need a
  13. procedure that will compute a CRC-16 value for a given text string.
  14. This should receive a text string as input and produce a two byte CRC
  15. value as output. The output has to be two data bytes. The carriage
  16. return byte is not to be included in the CRC computations. This should
  17. be able to read text strings from the terminal, call the procedure,
  18. and then print the string and the appropriate CRC value. The output
  19. will be the text string that was input and the corresponding CRC
  20. value. Then, the CRC value should be converted into a 4 digit Hex
  21. value. Any suggestions ???
  22.  
  23. Please help !!
  24.